package com.jike.noobmoney.mvp.view.fragment;

import android.content.Intent;
import android.view.View;

import com.jike.noobmoney.R;
import com.lz.playmy.WowanIndex;

import butterknife.OnClick;

/**
 * Created by kekex on 2018/8/21.
 * 任务页面
 */
public class TaskTwoFragment extends BaseFragment {


    @Override
    protected int layoutResID() {
        return R.layout.fragment_task_two;
    }

    @Override
    protected void initData() {


    }

    @OnClick({R.id.btn_task, R.id.btn_task2, R.id.tv_start})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.btn_task:
                //高额任务->简单任务
                //TooMeeManager.start(context);
                break;

            case R.id.btn_task2:
            case R.id.tv_start:
                //高额悬赏->试玩赚钱
                Intent intent = new Intent();
                intent.setClass(context.getApplicationContext(), WowanIndex.class);
                startActivity(intent);
                break;
        }
    }
}
